package com.fhz.circle.register.view;

import androidx.lifecycle.LiveData;

import com.fhz.circle.register.data.User;
import com.fhz.core_lib.mvvm.BaseRepository;

/**
 * 时间:11/14/21
 *
 * @author msfeng
 * 简述: 注册仓库
 */
public class RegisterRepository extends BaseRepository<RegisterModel> {

    public RegisterRepository(RegisterModel iModel) {
        super(iModel);
    }

    public LiveData<User> register(User user){
        LiveData<User> userLiveData = iModel.registerUser(user);
        return userLiveData;
    }
}
